cmake_minimum_required(VERSION 3.12.4)
project(wazuh_db_query_testtool)

if(FSANITIZE)
set(CMAKE_CXX_FLAGS_DEBUG "-g -fsanitize=address,leak,undefined")
endif()

file(GLOB WAZUH_DB_QUERY_TESTTOOL_SRC
    "*.cpp"
    )

add_executable(${PROJECT_NAME}
    ${WAZUH_DB_QUERY_TESTTOOL_SRC}
    )

target_link_libraries(${PROJECT_NAME} pthread)
